package ntd.util.modular.account.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import ntd.util.config.common.entity.BaseEntityMybatis;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 菜单权限表
 * </p>
 *
 * @author liuwenju
 * @since 2022-06-23
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("account_menu")
@ApiModel(value = "Menu对象", description = "菜单权限表")
public class Menu extends BaseEntityMybatis<Menu> {

    @ApiModelProperty("菜单名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("父菜单ID")
    @TableField("pid")
    private String pid;

    @ApiModelProperty("显示顺序")
    @TableField("order_num")
    private Integer orderNum;

    @ApiModelProperty("路由地址")
    @TableField("path")
    private String path;

    @ApiModelProperty("菜单状态（0正常 1停用 2隐藏）")
    @TableField("status")
    private String status;

    @ApiModelProperty("菜单图标")
    @TableField("icon")
    private String icon;

    @ApiModelProperty("备注")
    @TableField("remark")
    private String remark;


}
